home *** CD-ROM | disk | FTP | other *** search
- Path: news.cc.utah.edu!su
- From: su@cadehp3.eng.utah.edu (Roger Su)
- Newsgroups: comp.lang.c
- Subject: Code for Parallel Port I/O
- Date: 13 Feb 1996 09:30:36 GMT
- Organization: University of Utah
- Message-ID: <4fplns$5ja@news.cc.utah.edu>
- NNTP-Posting-Host: cadehp3.eng.utah.edu
-
- Okay, let me preface this message by saying I no NOTHING of C, C+, C++
- or any language that is named after a letter..:)
-
- Now that I've got that out of the way, let me make my request. I have a
- piece of hardware that creates data that I would like to input into my
- computer. Basically it's a 12-bit word that I would like to store into a
- file and then would like to manipulate it with another mathmatical program
- (Matlab for those of you keeping score at home).
-
- I would have thought this would have been child's play with all the stuff
- that's already written for C. I would have just looked into a book with
- a lot of I/O stuff and somebody would have written something for a parallel
- port. Well, no such luck. At least most of the books I've looked at
- pretty much ignore the parallel port for I/O and pretty much concentrate
- on the serial port.
-
- So, if anybody out there has some code written for the parallel port and
- is willing to share, I would be more than obliged somehow to repay them
- (I work at a bike shop if there's any bike lover's out there). Let me
- state that this is not for a commercial purpose and ABSOLUTELY WILL NOT
- be used in any manner in which I will collect money. If there is any
- doubt, I'm willing to go through the mumbo jumbo of writing some kind of
- disclaimer stipulating such. I would of course give the writer all the
- credit for writing the program and such.
-
- Let me also state, I am not a programmer, and in all honesty, learning C
- is not the way I want to go. Usually I have a friend write the simple codes
- I need to interface with my hardware. It's usually pretty trivial stuff
- that I just throw onto an EEPROM, but in this case, it's a little outta
- his league.
-
- Please feel free to email me with suggestions, ideas, or maybe the actual
- code...:)
-
- Cheers.
-
-
- --
- Roger Su | Biking in Moab, UT
- su@eng.utah.edu | Hiking in Capitol Reef, UT
- su@ee.utah.edu | March '96
- roger.su@m.cc.utah.edu | Looking for partners!
-